package beans;

/**********************************************************************
*
* Filename: Draft_Bean.java
*
* File Description:
* Bean to carry information about an draft to the client and back to server
*
* Author:
* @author Tim Schmalz
* Date Created:
*  Oct 23, 2009
*
**********************************************************************/
public class Draft_Bean implements java.io.Serializable
{
    private static final long serialVersionUID = 643740410161593603L;
    int playerId;
    int turnId;
    int onDeckId;
    int inTheHoleId;

    /**
     * Builds draft bean
     *
     * @param playerId - Id of last player drafted
     * @param turnId - Id of current drafting team
     * @param onDeck - Id of next team to draft
     * @param inTheHole - Id of thrid team to draft
     */
    public Draft_Bean(int playerId, int turnId, int onDeck, int inTheHole)
    {
        this.playerId = playerId;
        this.turnId = turnId;
        onDeckId = onDeck;
        inTheHoleId = inTheHole;
    }

    //Auto generated getter methods
    public int getPlayerId() {
    	return playerId;
    }
    public void setPlayerId(int playerId) {
    	this.playerId = playerId;
    }
    public int getTurnId() {
    	return turnId;
    }
    public void setTurnId(int turnId) {
    	this.turnId = turnId;
    }
    public int getOnDeckId() {
    	return onDeckId;
    }
    public void setOnDeckId(int OnDeckId) {
    	this.onDeckId = OnDeckId;
    }
    public int getInTheHoleId() {
    	return inTheHoleId;
    }
    public void setInTheHoleId(int inTheHoleId) {
    	this.inTheHoleId = inTheHoleId;
    }
}
